package com.fs;
public class Car {
    
    private String name;
    private String color;
    private String age;
    
    public Car(){};
    public Car(String name,String color,String age){
        this.name=name;
        this.color=color;
        this.age=age;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getColor() {
        return color;
    }
    public void setColor(String color) {
        this.color = color;
    }
    public String getAge() {
        return age;
    }
    public void setAge(String age) {
        this.age = age;
    }
    public void inputCar(){
        System.out.println(name+"===="+color+"---------"+age);
    }

}
